package com.xzj.admin.flow.domain.vo.node;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @program: xzj-admin
 * @ClassName: FlowNodeVo
 * @description: 流程节点对外类
 * @author: XiaZunJun
 * @create: 2024-09-27 09:52
 */
@Data
public class FlowNodeVo {
    /**
     * 流程节点ID
     */
    @Schema(name = "流程节点ID", description = "")
    private String id;


    /**
     * 流程节点名称
     */
    @Schema(name = "流程节点名称", description = "")
    private String label;


    /**
     * 节点类型
     */
    @Schema(name = "节点类型", description = "")
    private String shape;


    /**
     * 是否显示节点
     */
    @Schema(name = "是否显示节点", description = "")
    private boolean visible;


    /**
     * x轴坐标
     */
    @Schema(name = "x轴坐标", description = "")
    private Integer x;


    /**
     * y轴坐标
     */
    @Schema(name = "y轴坐标", description = "")
    private Integer y;


    /**
     * 节点次序
     */
    @Schema(name = "节点次序", description = "")
    @JsonProperty("zIndex")
    private Integer zIndex;
    /**
     * 节点数据
     */
    @Schema(name = "节点数据", description = "")
    private String data;

    private NodeAttr attrs;

    private FlowNodePortVo ports;


}
